package com.xzq.erp.mapper;

import com.github.pagehelper.Page;
import com.xzq.erp.domain.po.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xzq.erp.domain.query.OrderPageQuery;
import com.xzq.erp.domain.vo.OrderVO;

/**
 * <p>
 * 订单表 Mapper 接口
 * </p>
 *
 * @author xzq
 * @since 2025-05-13
 */
public interface OrderMapper extends BaseMapper<Order> {

    /**
     * 分页获取订单列表
     * @param query
     * @return
     */
    Page<OrderVO> getOrderList(OrderPageQuery query);
}
